package com.fly.platform.base.pojo

import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

@ApiModel("角色")
@TableName("base_role")
data class Role(

        @ApiModelProperty(value = "角色名 以ROLE_开头")
        var name: String? = null,

        @ApiModelProperty(value = "是否为注册默认角色")
        @TableField("default_role")
        var defaultRole: Boolean? = null,

        @ApiModelProperty(value = "备注")
        var description: String? = null,

) : BasePojo() {

    companion object {
        const val serialVersionUID = 1L
    }
}